import Vue from "vue";
import App from "./App.vue"

new Vue({
  el: "#app",
  render: h => h(App),
  beforeCreate() {
    // 将Vue实例注册为全局事件总线
    Vue.prototype.$bus = this
  }
})